package com.bishe.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bishe.pojo.UserBill;
import com.bishe.pojo.query.UserBillQuery;
import com.bishe.pojo.response.Result;

/**
* @author wwz
* @description 针对表【user_bill】的数据库操作Service
* @createDate 2024-02-26 23:54:14
*/
public interface UserBillService extends IService<UserBill> {

    /**
     * 新增或修改
     * @param userBill
     */
    Result<?> addOrUpdate(UserBill userBill);

    /**
     * 分页
     * @param query
     * @return
     */
    IPage<UserBill> toPage(UserBillQuery query);
}
